<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    	<?php echo link_tag('media/css/admin.css');?>
    	<script type="text/javascript" src="<?php echo base_url();?>media/js/jquery-1.4.4.min.js"></script>
    	<script type="text/javascript" src="<?php echo base_url();?>media/js/form.js"></script>
    	<script type="text/javascript" src="<?php echo base_url();?>media/js/cal2.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>media/js/cal_conf2.js"></script>
		<script language="javascript" type="text/javascript" src="<?php echo base_url();?>media/js/tinymce//jscripts/tiny_mce/tiny_mce.js"></script>
		<script language="javascript" type="text/javascript">
		tinyMCE.init({
	        // General options
	        mode : "textareas",
	        theme : "advanced",
	        plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

	        // Theme options
	        theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
	        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
	        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
	        theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
	        theme_advanced_toolbar_location : "top",
	        theme_advanced_toolbar_align : "left",
	        theme_advanced_statusbar_location : "bottom",
	        theme_advanced_resizing : true,

	        // Skin options
	        skin : "o2k7",
	        skin_variant : "silver",

	        // Example content CSS (should be your site CSS)
	        content_css : "css/example.css",

	        // Drop lists for link/image/media/template dialogs
	        template_external_list_url : "js/template_list.js",
	        external_link_list_url : "js/link_list.js",
	        external_image_list_url : "js/image_list.js",
	        media_external_list_url : "js/media_list.js",
	});

</script>
		
</head>

<body>    
	
    <div id="maincontent">
		<div id="header" >
			<div class="logoAdmin"><img src="<?php echo base_url(); ?>media/images/admin/logoAdmin.jpg"/></div>
				<div style="float: right; padding-right: 5px; padding-top: 9px;">
					<a class="menu" href=""></a>&nbsp;
				</div>
			<div class="logoZVN" ></div>	
			<div class="clearDiv"></div>	
			</div>
			<?php if($this->session->userdata('auth')):?>
			 <div id="menuTop" > 
	    	<div style="float: left">
				<ul id="sddm">
					<li>
						<a href="<?php echo base_url();?>index.php/partner" class="menu">Partner</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/work" class="menu">Work</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/video" class="menu">Video</a>
					</li> 
					<li>
						<a href="<?php echo base_url();?>index.php/letter" class="menu">Letter</a>
					</li> 
					<li>
						<a href="<?php echo base_url();?>index.php/introduce" class="menu">Introduce</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/specialized" class="menu">Specialized</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/product" class="menu">Product</a>
					</li>  
					<li>
						<a href="<?php echo base_url();?>index.php/user" class="menu">Quản lý User</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/contact" class="menu">Contact</a>
					</li>
					<li>
						<a href="<?php echo base_url();?>index.php/project" class="menu">Quản lý dự án</a>
					</li>
					
				</ul>
				</div>	
			</div>
		<?php endif;?>
		
	  	<div class="separate"></div>
	  	
	  	<div id="center" align="center">
	  		<div style="width: 969px;">
		  		<div class="top"></div>
		  		<div class="center"  style="min-height: 400px">
		  			<?php echo $content_for_layout;?>
	        	</div>
	        	<div class="bottom"></div>
        	</div>
        </div>
        
        <div class="separate"></div>       	

       <div id="bottom" style="padding-top: 20px; color: #FFFFFF;" >
			<strong>ezSite ver 0.1</strong> 
			<br />
			Powered by 
			<a href="#" class="bottom">
				<strong>ezIT Solution</strong>
			</a>
		</div>
		
	</div>   
</body>
</html>